package dao;


import entity.TeacherEntity;

import java.util.List;
import java.util.Map;

public interface TeacherDao {
    List<Map<String,Object>> getTeacherInfo(String name);

    int addTeacherInfo(TeacherEntity teacher);

    int updateTeacherInfo(TeacherEntity teacher);

    int deleteTeacher(String teacherId);

    int batchDeleteTeacher(List<String> ids);

    List<Map<String,Object>> getTeacherInfoByAcademyId(String academyId);

    Map<String,Object> getTeacherInfoById(String id);
}
